package com.etc.Dao;

import com.etc.entity.Score;
import com.etc.entity.Student;
import com.etc.entity.User;

import java.util.List;

public interface UserDao {
//    查询
   User findById(User userid);

    User findById(Integer userid);

    List<User>findbyall();

//            添加
    Integer save(User user);
//            更新
    Integer Update(User user) ;
//        删除

     Integer deleteId(Integer userid) ;

    List<User> order();

    List<User> between();

    List<Score>in();

    List<Student>or();

    List<Student>orderby();

    List<Score>asc();

    Student count();

    List<Score>avg();

    Score mh();

    List<Score>degree();
    List<Student> mhc(String Sname);

//    List<Score,Student>



}
